package com.dgut.courses_selecting_sys.service;

import com.dgut.courses_selecting_sys.entity.User;
import com.dgut.courses_selecting_sys.entity.UserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuec
 * @since 2020-08-06
 */
public interface IUserRoleService extends IService<UserRole> {
    UserRole getDataByUserId(Long userId);

    List<User> teachList(int deptId);

    List<User> stuList(int deptId);
}
